<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript" src="/${initParam.context_root }/script/script.js"></script>
<b>${requestScope.comBoard.no }번 글 수정</b><p/>
<form action="/${initParam.context_root  }/com/modifyForm2.do" method="post" onsubmit="return writeFormCheck(this)">
<input type='hidden' name="no" value="${requestScope.comBoard.no }">
<input type="hidden" name="viewcount" value="${requestScope.comBoard.viewcount }">

<input type="hidden" name="page" value="${param.page }">

<table style="width:550px">
 <tr>
	<td width="100px">제목</td>
	<td><input type="text" name="title" maxlength="200" size="50" value="${requestScope.comBoard.title }"></td>
 </tr>
 <tr>
	<td>작성자</td>
	<td><input type="text" name="nickname" value="${requestScope.comBoard.nickname }"></td>
 </tr>
 <tr>
	<td colspan=2>
	<textarea cols="75" rows="15" name="content">
${requestScope.comBoard.content }</textarea>
</td>
 </tr>
 <tr>
 	<td colspan="2" align="center">
	 	<input type="submit" value="수정">
	 	<input type="reset" value="초기화">
	 </td>
 </tr>
 </table>
 </form>